package com.gl.saasservice.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 角色权限关系表
 */
@Entity
@Table(name = "saas_role_app_ref")
public class RolePermission extends IdEntity {

    /**
     * 权限id
     */
    private Long permissionId;

    /**
     * 角色id
     */
    private Long roleId;

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
